package com.nbsaas.boot.exception;

import lombok.Getter;

public class TenantAccessException extends RuntimeException {

    @Getter
    private Integer code = 600;

    public TenantAccessException() {

    }

    public TenantAccessException(String message) {
        super(message);
    }

    public TenantAccessException(int code, String message) {
        super(message);
        this.code = code;
    }
}
